Welcome![Sign In][Sign Up]
Location:
Search - ReadFile USB

Search list

[Software EngineeringUSBtongxun

Description: 如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称, 获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-If you want to open a USB pipeline You must first know the GUID of USB devices and management Road name, Access handles can use it after ReadFile / WriteFile for literacy!
Platform: | Size: 2184 | Author: 副类 | Hits:

[Other resourceFANGWENUSB

Description: //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe(\"MyPipe1\") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL)) { //成功 } CloseHandle(hDevice) }-/ / open USB literacy, Drivers from the Pipe were identified HANDLE hPipe = OpenMyDevPipe ( " MyPipe1 ") / / driver inside Pipe, and a corresponding visit to the endpoint I / O, Here, I write without basis. consistent with the need to drive if (hPipe! = INVALID_HANDLE_VALUE) / / Open Pipe success (ReadFile (hPipe, Buffer, BufSize,
Platform: | Size: 1813 | Author: lanxilange | Hits:

[Driver DevelopUSB通讯协议

Description: USB驱动协议的简化版。如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-USB drives a simplified version of the agreement. If you want to open a channel USB, you must first know the GUID USB devices Road names and management, acquisition handle can use it after ReadFile / WriteFile write!
Platform: | Size: 2178 | Author: 郑卓超 | Hits:

[Driver DevelopUSB通讯协议

Description: USB驱动协议的简化版。如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-USB drives a simplified version of the agreement. If you want to open a channel USB, you must first know the GUID USB devices Road names and management, acquisition handle can use it after ReadFile/WriteFile write!
Platform: | Size: 2048 | Author: 郑卓超 | Hits:

[CommunicationUSBthread

Description: USB 1.1通信协议的MFC环境下的应用程序代码.-USB 1.1 communication protocol to the environment under the MFC application code.
Platform: | Size: 2521088 | Author: 马小哈 | Hits:

[Software EngineeringUSBtongxun

Description: 如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称, 获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-If you want to open a USB pipeline You must first know the GUID of USB devices and management Road name, Access handles can use it after ReadFile/WriteFile for literacy!
Platform: | Size: 2048 | Author: 副类 | Hits:

[Driver DevelopVC++HID_USB

Description: vC++读写HID_USB设备,包含hid_usb的固件程序和上位机程序-vC++ read and write HID_USB equipment, including firmware hid_usb procedures and PC program
Platform: | Size: 3123200 | Author: zifengling | Hits:

[USB developCH12-READFILE

Description: 读取HID设备的USB通讯VB源代码,对研究USB通讯有帮助。-Reads HID equipment s USB the communication VB source code, to studies the USB communication to have the help
Platform: | Size: 34816 | Author: 唐斌 | Hits:

[USB developusblpt

Description: 控制USB LPT的代码,通过WriteFile控制USB打印口-Read/Write USB LPT Port by ReadFile/WriteFile API,not by 0x378 I/O Port
Platform: | Size: 17408 | Author: 梁东 | Hits:

[Windows DevelopvivUsb

Description: vc通过ReadFile读取Hid设备数据。编译时需要ddk类库。-VC read the data from USB HID device by ReadFile API function. The project need the DDK when it been complier.
Platform: | Size: 4107264 | Author: 111111 | Hits:

CodeBus www.codebus.net